import axios from "axios";
let remove = (id) => axios.delete(`/link/${id}`);
let open = (data) => axios.post('/link/usable', data);
let add = (data) => axios.post('/link/', data);
let edit = (id,data) => axios.put(`/link/${id}`,data);
let link = (params) => axios.get('/link/list', { params });
export default {
    remove, open, add, edit, link
}